package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("category")
public class Category {

    @TableId(value = "catId", type= IdType.INPUT)
    private String categoryId;
    private String name;
    @TableField(value = "descn")
    private String description;

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId( String categoryId ) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName( String name ) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription( String description ) {
        this.description = description;
    }

}
